Summary

[ summary] [ package list] [ test cases]

TestsErrorsFailuresSuccess rateTime(s)
1510298,68%252,29

Note: failuresare anticipated and checked for with assertions while errorsare unanticipated.

Package List

[ summary] [ package list] [ test cases]

PackageTestsErrorsFailuresSuccess RateTime
net.sf.pmr.agilePlanning 100100,00%14,33
net.sf.pmr.agilePlanning.data.iteration 270196,30%38,04
net.sf.pmr.agilePlanning.data.release 1600100,00%27,83
net.sf.pmr.agilePlanning.data.story 2000100,00%31,76
net.sf.pmr.agilePlanning.data.story.task 300100,00%13,32
net.sf.pmr.agilePlanning.domain.iteration 1900100,00%28,98
net.sf.pmr.agilePlanning.domain.release 1500100,00%29,02
net.sf.pmr.agilePlanning.domain.story 700100,00%19,87
net.sf.pmr.agilePlanning.domain.story.task 1100100,00%19,18
net.sf.pmr.agilePlanning.service 320196,88%29,97

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

net.sf.pmr.agilePlanning

ClassTestsErrorsFailuresSuccess RateTime
Success AgilePlanningObjectFactoryTest 100100,00%14,330

net.sf.pmr.agilePlanning.data.iteration

ClassTestsErrorsFailuresSuccess RateTime
Failure IterationMapperTest 270196,30%38,035

net.sf.pmr.agilePlanning.data.release

ClassTestsErrorsFailuresSuccess RateTime
Success ReleaseMapperTest 1600100,00%27,830

net.sf.pmr.agilePlanning.data.story

ClassTestsErrorsFailuresSuccess RateTime
Success StoryMapperTest 2000100,00%31,756

net.sf.pmr.agilePlanning.data.story.task

ClassTestsErrorsFailuresSuccess RateTime
Success TaskMapperTest 300100,00%13,319

net.sf.pmr.agilePlanning.domain.iteration

ClassTestsErrorsFailuresSuccess RateTime
Success IterationRepositoryTest 200100,00%9,754
Success IterationTest 900100,00%9,574
Success IterationValidatorTest 800100,00%9,654

net.sf.pmr.agilePlanning.domain.release

ClassTestsErrorsFailuresSuccess RateTime
Success ReleaseRepositoryTest 200100,00%9,764
Success ReleaseTest 500100,00%9,594
Success ReleaseValidatorTest 800100,00%9,663

net.sf.pmr.agilePlanning.domain.story

ClassTestsErrorsFailuresSuccess RateTime
Success StoryRepositoryTest 200100,00%10,325
Success StoryTest 500100,00%9,543

net.sf.pmr.agilePlanning.domain.story.task

ClassTestsErrorsFailuresSuccess RateTime
Success TaskTest 800100,00%9,574
Success TaskValidatorTest 300100,00%9,604

net.sf.pmr.agilePlanning.service

ClassTestsErrorsFailuresSuccess RateTime
Failure AgileProjectServiceTest 1010,00%0,301
Success IterationServiceTest 900100,00%9,754
Success ReleaseServiceTest 900100,00%9,774
Success StoryServiceTest 1300100,00%10,144

Test Cases

[ summary] [ package list] [ test cases]

AgilePlanningObjectFactoryTest

Success testGetBeanFactory13,56

IterationMapperTest

Success testIsASingleton10,18
Success testAddorUpdateWhenUpdating1,81
Success testAddorUpdateWhenUpdatingWithConcurrencyFailureException1,02
Success testAddorUpdateWhenUpdatingDoesNotUpdateBasicProject0,99
Success testAddorUpdateWhenUpdatingDoesNotUpdateRelease1,04
Success testAddOrUpdateWhenAdding1,07
Success testAddorUpdateWhenAddingDoesNotThrowConcurrencyFailureException1,00
Success testAddorUpdateWhenAddingDoesNotUpdateBasicProject1,18
Success testAddorUpdateWhenAddingDoesNotUpdateRelease0,98
Success testDelete0,99
Success testDeleteWhenIterationDoesNotExists0,97
Success testDeleteWhenIterationHaveBeenModified1,33
Success testDeleteDoesNotDeleteProject0,94
Success testDeleteDoesNotDeleteRelease0,99
Success testFindByIdWhenIterationIsFound0,97
Success testFindByIdWhenIterationIsNotFound0,87
Success testFindByProjectPersistanceIdWhenIterationIsFound1,47
Success testFindByProjectPersistanceIdWhenIterationIsNotFound0,89
Success testfindByProjectPersistanceIdAndByDateWhenDateIsEqualsToTheStartDate0,92
Failure testfindByProjectPersistanceIdAndByDateWhenDateIsEqualsToTheEndDate1,21
N/A
Success testfindByProjectPersistanceIdAndByDateWhenDateIsBetweenTheStartAndTheEndDate0,84
Success testfindByProjectPersistanceIdAndByDateWhenDateIsBeforeTheStartDate1,29
Success testfindByProjectPersistanceIdAndByDateWhenDateIsAfterTheEndDate0,88
Success testfindByProjectPersistanceIdAndByDateWhenProjectPersistanceIdIsUnknown0,86
Success testAddOrUpdateWhenIterationIsNull0,85
Success testAddOrUpdateWhenIterationIdEqualZero0,87
Success testAddOrUpdateWhenIterationIdSuperiorToZero0,86

ReleaseMapperTest

Success testIsASingleton10,10
Success testAddorUpdateWhenUpdating1,52
Success testAddOrUpdateWhenAdding1,28
Success testAddOrUpdateDoesntUpdateProjectWhenUpdating1,02
Success testAddOrUpdateDoesntUpdateProjectWhenAdding1,04
Success testAddOrUpdateWhenProjectDoesNotExists1,08
Success testAddOrUpdateWhenProjectIsNull1,06
Success testAddOrUpdateWithConcurrencyFailureException1,02
Success testDeleteWhenReleaseExists1,15
Success testDeleteWhenReleaseDoesNotExists1,06
Success testDeleteWhenReleaseHaveBeenUpdated0,98
Success testDeleteDoesNotDeleteProjet1,48
Success testFindByIdWhenReleaseIsFound1,04
Success testFindByIdWhenReleaseIsNotFound0,93
Success testFindByProjectPersistanceIdWhenReleaseIsFound1,39
Success testFindByProjectPersistanceIdWhenReleaseIsNotFound0,97

StoryMapperTest

Success testIsASingleton10,36
Success testAddorUpdateWhenUpdating1,99
Success testAddorUpdateWhenUpdatingWithConcurrencyFailureExceptionOnStory1,05
Success testAddorUpdateWhenUpdatingWithConcurrencyFailureExceptionOnTask1,02
Success testAddorUpdateWhenUpdatingDoesNotUpdateBasicProject1,05
Success testAddorUpdateWhenUpdatingDoesNotUpdateIteration1,30
Success testAddOrUpdateWhenAdding1,12
Success testAddorUpdateWhenAddingDoesNotThrowConcurrencyFailureException0,97
Success testAddorUpdateWhenAddingDoesNotUpdateBasicProject1,01
Success testAddorUpdateWhenAddingDoesNotUpdateIteration1,02
Success testDelete1,36
Success testDeleteWhenStoryDoesNotExists0,95
Success testDeleteWhenStoryHaveBeenModified0,91
Success testDeleteWhenTaskHaveBeenModified1,01
Success testDeleteDoesNotDeleteProject0,83
Success testDeleteDoesNotDeleteIteration0,84
Success testFindByIdWhenStoryIsFound1,04
Success testFindByIdWhenStoryIsNotFound0,92
Success testFindByProjectPersistanceIdWhenStoryIsFound1,34
Success testFindByProjectPersistanceIdWhenStoryIsNotFound0,91

TaskMapperTest

Success testIsASingleton10,14
Success testFindByIdWhenTaskIsFound1,56
Success testFindByIdWhenTaskIsNotFound0,92

IterationRepositoryTest

Success testIsASingleton8,88
Success testRepositorySendTargetedObjectToTheMapperWhenAddingOrUpdating0,14

IterationTest

Success testIsNotASingleton8,84
Success testIsEqualsAndHashcodeWithDifferentStartDatesButSameEndDate0,02
Success testIsEqualsAndHashcodeWithSameStartDatesButDifferentEndDates0,00
Success testIsEqualsAndHashcodeWithSameStartDatesAndSameEndDateButDifferentProject0,00
Success testIsEqualsAndHashcodeWithSameStartDatesAndSameEndDateAndSameProject0,00
Success testSetStartTruncateDateWhenArgumentIsNotNull0,00
Success testSetStartTruncateDateWhenArgumentIsNull0,00
Success testSetEndTruncateDateWhenArgumentIsNotNull0,00
Success testSetEndTruncateDateWhenArgumentIsNull0,00

IterationValidatorTest

Success testIsSingleton8,84
Success testWithStartDateIsNull0,08
Success testWithStartDateIsNotNull0,00
Success testWithEndDateIsNull0,00
Success testWithEndDateIsNotNull0,01
Success testWithEndDateBeforeStartDate0,00
Success testWithEndDateHisTheSameThanStartDate0,00
Success testWithEndDateAfterStartDate0,00

ReleaseRepositoryTest

Success testIsASingleton8,95
Success testRepositorySendTargetedObjectToTheMapperWhenAddingOrUpdating0,12

ReleaseTest

Success testIsNotASingleton8,86
Success testIsEqualsAndHashcodeWithSameNumberAndSameProject0,01
Success testIsEqualsAndHashcodeWithDifferentNumberAndSameProject0,00
Success testIsEqualsAndHashcodeWithSameNumberAndDifferentProject0,00
Success testIsEqualsAndHashcodeWithDifferentNumberAndDifferentProject0,00

ReleaseValidatorTest

Success testIsSingleton8,88
Success testWhithDateIsnull0,03
Success testWithDateIsBeforeToday0,00
Success testWithDateIsToday0,01
Success testWithDateIsAfterToday0,00
Success testNumberIsNull0,00
Success testNumberIsBlank0,00
Success testNumberIsNotNull0,01

StoryRepositoryTest

Success testIsASingleton8,82
Success testRepositorySendTargetedObjectToTheMapperWhenAddingOrUpdating0,79

StoryTest

Success testIsNotASingleton8,82
Success testIsEqualsAndHashcodeWithDifferentShortDescriptions0,02
Success testIsEqualsAndHashcodeWithTheSameShortDescriptionAndbasicProjectButDifferentIterations0,00
Success testIsEqualsAndHashcodeWithTheSameShortDescriptionAndIterationButDifferentBasicProjec0,00
Success testIsEqualsAndHashcodeWithTheSameShortDescriptionAndtheSameIterationAndTheSameBasicProject0,00

TaskTest

Success testIsNotASingleton8,85
Success testIsEqualsAndHashcodeWithSameShortDescriptionAndSameIdealDayAndShameDevelopper0,01
Success testIsEqualsAndHashcodeWithSameShortDescriptionAndSameIdealDayAndDifferentDevelopper0,00
Success testIsEqualsAndHashcodeWithSameShortDescriptionAndDifferentIdealDayAndSameDevelopper0,00
Success testIsEqualsAndHashcodeWithDifferentShortDescriptionAndSameIdealDayAndSameDevelopper0,00
Success testIsEqualsAndHashcodeWithDifferentShortDescriptionAndDifferentIdealDayAndSameDevelopper0,00
Success testIsEqualsAndHashcodeWithDifferentShortDescriptionAndDifferentIdealDayAndDifferentDevelopper0,00
Success testIsEqualsAndHashcodeWithDifferentShortDescriptionAndSamedealDayAndDifferentDevelopper0,00

TaskValidatorTest

Success testWithShortDescriptionNull8,90
Success testWithShortDescriptionBlank0,00
Success testWithShortDescriptionNotNull0,00

AgileProjectServiceTest

Failure warning0,01
No tests found in net.sf.pmr.agilePlanning.service.AgileProjectServiceTest

IterationServiceTest

Success testIsASingleton8,88
Success testAdd0,14
Success testAddWhenValidationFails0,01
Success testUpdate0,00
Success testUpdateWhenValidationFails0,01
Success testFindByPersistanceIdWhenIterationIsFound0,01
Success testFindByPersistanceIdWhenIterationIsNotFound0,00
Success testFindByProjectPersistanceIdWhenIterationsAreFound0,01
Success testFindByProjectPersistanceIdWhenIterationsAreNotFound0,00

ReleaseServiceTest

Success testIsASingleton8,92
Success testAdd0,12
Success testAddWhenValidationFails0,01
Success testUpdate0,00
Success testUpdateWhenValidationFails0,01
Success testFindByPersistanceIdWhenIterationIsFound0,01
Success testFindByPersistanceIdWhenIterationIsNotFound0,00
Success testFindByProjectPersistanceIdWhenIterationsAreFound0,00
Success testFindByProjectPersistanceIdWhenIterationsAreNotFound0,00

StoryServiceTest

Success testIsASingleton9,18
Success testAdd0,16
Success testAddTask0,05
Success testAddTaskWhenValidationFails0,01
Success testUpdate0,02
Success testUpdateTask0,01
Success testUpdateWhenValidationFails0,00
Success testFindByPersistanceIdWhenStoryIsFound0,01
Success testFindTaskByPersistanceIdWhenTaskIsFound0,00
Success testFindTaskByPersistanceIdWhenStoryIsNotFound0,00
Success testFindByPersistanceIdWhenStoryIsNotFound0,00
Success testFindByProjectPersistanceIdWheStoriesAreFound0,00
Success testFindByProjectPersistanceIdWhenStoriesAreNotFound0,00

Failure details

Failure testfindByProjectPersistanceIdAndByDateWhenDateIsEqualsToTheEndDate
N/A
junit.framework.AssertionFailedError at net.sf.pmr.agilePlanning.data.iteration.IterationMapperTest.testfindByProjectPersistanceIdAndByDateWhenDateIsEqualsToTheEndDate(IterationMapperTest.java:528)
Failure warning
No tests found in net.sf.pmr.agilePlanning.service.AgileProjectServiceTest
junit.framework.AssertionFailedError: No tests found in net.sf.pmr.agilePlanning.service.AgileProjectServiceTest